import { request } from "@umijs/max";
import { stringify } from "qs";
//统计某个时间段客户入住数量
export const getCountByDay = (params:any) =>
  request(`/sy/countByDay?${stringify(params)}`, {
    method: "GET",
  });
//统计当天客户入住数量、客房空房和满房数量
export const getCount = () =>
  request(`/sy/count`, {
    method: "GET",
  });